package com.accp.demo.pojo.stock;

import java.io.Serializable;

/**
 * 库存总账表
 * @author Administrator
 *
 */
public class StockLedger implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 366941379643346665L;
	private int wareNo;			//仓库编号与物料编号为联合主键
	private int materialNo;		//物料编号
	private int quantity;		//数量
	private int unitPrice;		//成本单价
	private int totalAmount;	//总金额
	private int logicStatu;		//逻辑状态
	public int getWareNo() {
		return wareNo;
	}
	public void setWareNo(int wareNo) {
		this.wareNo = wareNo;
	}
	public int getMaterialNo() {
		return materialNo;
	}
	public void setMaterialNo(int materialNo) {
		this.materialNo = materialNo;
	}
	public int getQuantity() {
		return quantity;
	}
	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}
	public int getUnitPrice() {
		return unitPrice;
	}
	public void setUnitPrice(int unitPrice) {
		this.unitPrice = unitPrice;
	}
	public int getTotalAmount() {
		return totalAmount;
	}
	public void setTotalAmount(int totalAmount) {
		this.totalAmount = totalAmount;
	}
	public int getLogicStatu() {
		return logicStatu;
	}
	public void setLogicStatu(int logicStatu) {
		this.logicStatu = logicStatu;
	}
	public StockLedger(int wareNo, int materialNo, int quantity, int unitPrice, int totalAmount, int logicStatu) {
		super();
		this.wareNo = wareNo;
		this.materialNo = materialNo;
		this.quantity = quantity;
		this.unitPrice = unitPrice;
		this.totalAmount = totalAmount;
		this.logicStatu = logicStatu;
	}
	@Override
	public String toString() {
		return "StockLedger [wareNo=" + wareNo + ", materialNo=" + materialNo + ", quantity=" + quantity
				+ ", unitPrice=" + unitPrice + ", totalAmount=" + totalAmount + ", logicStatu=" + logicStatu + "]";
	}
	public StockLedger() {
		super();
	}
	
	
}
